<!DOCTYPE HTML>
<!--[if lt IE 7]>      <html class="lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html>
	<!--<![endif]-->

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no,minimal-ui">
		<title>问题列表-因酷在线教育软件-中国在线教育平台第一品牌</title>
		<meta name="author" content="INXEDU(http://www.inxedu.com)" />
		<meta name="keywords" content="INXEDU,在线教育,网校搭建,网校,网络教育,远程教育,云网校,在线学习,在线考试" />
		<meta name="description" content="inxedu是一家专注“在线教育平台”的互联网公司，在国内属顶级在线教育解决方案提供商中的领跑者。为大、中型客户提供领先的在线教育平台方案服务。" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
		<meta content="telephone=no" name="format-detection" />
		<link rel="shortcut icon" href="/inxedu/favicon.ico" type="image/x-icon">
		<link rel="stylesheet" type="text/css" href="../../static/inxweb/css/reset.css">
		<link rel="stylesheet" type="text/css" href="../../static/inxweb/css/theme.css">
		<link rel="stylesheet" type="text/css" href="../../static/inxweb/css/global.css">
		<link rel="stylesheet" type="text/css" href="../../static/inxweb/css/web.css">
		<link rel="stylesheet" type="text/css" href="../../static/exam/new_style/style.css">
		<link href="../../static/inxweb/css/mw_320_768.css" rel="stylesheet" type="text/css" media="screen and (min-width: 320px) and (max-width: 768px)">
		<link href="../../static/exam/new_style/mw_320_768.css" rel="stylesheet" type="text/css" media="screen and (min-width: 320px) and (max-width: 768px)">
		<link rel="stylesheet" type="text/css" href="../../static/exam/css/examtheme.css">
		<link rel="stylesheet" href="../../static/exam/css/exam-style.css?v=1512129123700">
		<!--<link href="../static/exam/css/mw_320_768.css" rel="stylesheet" type="text/css" media="screen and (min-width: 320px) and (max-width: 768px)">-->
		<!--[if lt IE 9]><script src="/inxedu/static/common/html5.js"></script><![endif]-->
		<script type="text/javascript" src="../../static/common/jquery-1.7.2.min.js"></script>
		<!--<script type="text/javascript" src="../static/common/webutils.js"></script>-->
		<script type="text/javascript" src="../../js/header.js"></script>
		<script type="text/javascript" src="../../assets/js/common.js"></script>
		<script src="../../static/inxweb/questions/questions.js"></script>
		<script src="../../js/head.js"></script>
		<script src="../../js/jquery.cookie.js"></script>
		<style>
			.bgcolor{
				background: #5FB878;
			}
		</style>
		<script>
			var theme_color = 'orange';
			$(function() {
				var token = localStorage.getItem("token")
//				alert(token);
				if(token != "null" && token != "" && token != null) {
					var json = islogins(token);
					if(json != "null" && json != "" && json != null) {
						if(json.code == 200) {
							haslogin(json, 1);
						}
					}
				}
			})
		
		</script>
	</head>

	<body class="W-body">
		<script src="../../js/vue.min.js"></script>
		<script src="../../js/axios.min.js"></script>
		<script src="../../js/moment.js"></script>
		<div class="in-wrap">
			<div class="changeTheme" style="display: none;">
				<div class="ei-item-box">
					<div class="container pr">
						<a class="fr" id="Replacement" href="javascript:void(0);">
							<img alt="" src="../../static/inxweb/img/HF-BG.png">
						</a>
					</div>
				</div>
				<div class="ei-i-dialog pa" style="height: 120px; top: -120px; opacity: 0; z-index: -1;">
					<div style="height: 100%;" class="ei-i-dialog-box">
						<div class="ei-i-dialog-box-tit">
							<section class="container pr">
								<a title="收起" class="ei-i-close close_a pa" id="close_a" href="javascript: void(0)">
									<em class="vam up-hf"> <img alt="" src="../../static/inxweb/img/up-hf.png">
								</em>
									<tt class="f-fM fsize14 vam">收起</tt>
								</a>
								<span> 主题切换 </span>
							</section>
						</div>
						
					</div>
				</div>
			</div>
			<!-- 公共头引入 -->
			<!-- /global header begin-->
			<header id="header">
				<section class="container">
					<h1 id="logo">
			<a href="/inxedu/" title="因酷在线教育软件">
				<img src="../../images/upload/websiteLogo/20150820/1440035056371.png" width="100%" alt="因酷在线教育软件">
			</a>
		</h1>
					<div class="h-r-nsl">
						<ul class="nav">
							<li>
								<a href="index.html" title="首页">首页</a>
							</li>
							<li>
								<a href="courses-list.html" title="课程">课程</a>
							</li>
							<li>
								<a href="../../teachar/teacher-list.html" title="名师">名师</a>
							</li>
							<li>
								<a href="articlelist.html" title="文章">文章</a>
							</li>
							<li>
								<a href="question-list.html" title="问答">问答</a>
							</li>
						</ul>
						<!-- / nav -->
						<ul class="h-r-login">
							<li id="no-login">
								<a href="javascript:lrFun(1)" title="登录">
									<em class="icon18 login-icon">&nbsp;</em><span class="vam ml5">登录</span>
								</a>
								|
								<a href="javascript:lrFun(2)" title="注册">
									<span class="vam ml5">注册</span>
								</a>
							</li>
							<li class="mr10 undis" id="is-login-one">
								<a href="#" title="消息" id="headerMsgCountId">
									<em class="icon18 news-icon">&nbsp;</em>
								</a><q class="red-point" style="display: none">&nbsp;</q></li>
							<li class="h-r-user undis" id="is-login-two">
								<a href="loginInfo.html" title="">
									<img src="../../static/inxweb/img/avatar-boy.gif" id="pic_img" width="30" height="30" class="vam picImg" alt="">
									<span class="vam disIb" id="userName"></span>
								</a>
								<a href="javascript:void(0)" title="退出" onclick="exit();" class="ml5">退出</a>
							</li>
							<!-- /未登录显示第1 li；登录后显示第2，3 li -->
						</ul>
						<aside class="h-r-search">
							<form action="/inxedu/front/showcoulist" method="post">
								<label class="h-r-s-box"><input type="text" placeholder="输入你想学的课程" name="queryCourse.courseName" value="">
						<button type="submit" class="s-btn">
							<em class="icon18">&nbsp;</em>
						</button></label>
							</form>
						</aside>
					</div>
					<aside class="mw-nav-btn">
						<div class="mw-nav-icon"></div>
					</aside>
					<div class="clear"></div>
				</section>
			</header>
			<!-- /global header end-->
			<div class="h-mobile-mask"></div>
			<div class="head-mobile">
				<div class="head-mobile-box">
					<section class="clearfix">
						<div class="u-face-pic">
							<img src="../../static/inxweb/img/avatar-boy.gif" alt="" class="userImgPhoto">
							<a href="/inxedu/uc/initUpdateUser/1" title="" class="c-fff">修改头像</a>
						</div>
						<h4 class="hLh30 txtOf">
				<span class="fsize16 c-ccc userNameClass">
					<span class="vam ml5" style="cursor:pointer;" onclick="lrFun(1)">登录</span>
				</span>
			</h4>
						<div class="hLh30">
							<a href="/inxedu/uc/initUpdateUser/0" title="个人资料设置" class="c-999">个人资料设置</a>
						</div>
						<div class="hLh20 undis" id="mobileExitDiv">
							<a href="javascript:void(0)" title="退出" onclick="exit();" class="c-999">退出</a>
						</div>
					</section>
					<nav class="mw-nav">
						<ul class="clearfix">
							<li>
								<a href="/inxedu/" title="首页">首页</a>
							</li>
							<li>
								<a href="/inxedu/front/showcoulist" title="课程">课程</a>
							</li>
							<li>
								<a href="/inxedu/front/teacherlist" title="名师">名师</a>
							</li>
							<li>
								<a href="/inxedu/front/articlelist" title="文章">文章</a>
							</li>
							<li>
								<a href="/inxedu/front/examindex" title="考试">考试</a>
							</li>
							<li>
								<a href="/inxedu/questions/list" title="问答">问答</a>
							</li>
						</ul>
					</nav>
					<section class="u-m-dd">
						<ul>
							<li>
								<span>Wo的学习</span>
								<ol>
									<li class="current">
										<a href="javascript:void(0)" onclick="mobileHrefCheckLogin('/inxedu/uc/index')" title="">免费课程</a>
									</li>
									<li>
										<a href="javascript:void(0)" onclick="mobileHrefCheckLogin('/inxedu/front/showcoulist')" title="">选课中心</a>
									</li>
									<li>
										<a href="javascript:void(0)" onclick="mobileHrefCheckLogin('/inxedu/uc/myFavorites')" title="">Wo的收藏</a>
									</li>
								</ol>
							</li>
						</ul>
						<ul>
							<li>
								<span>Wo的问答</span>
								<ol>
									<li>
										<a href="javascript:void(0)" onclick="mobileHrefCheckLogin('/inxedu/uc/myquestions/list')" title="">Wo的提问</a>
									</li>
									<li>
										<a href="javascript:void(0)" onclick="mobileHrefCheckLogin('/inxedu/uc/myrepquestions/list')" title="">Wo的回答</a>
									</li>
								</ol>
							</li>
						</ul>
						<ul>
							<li>
								<span>Wo的资料</span>
								<ol>
									<li>
										<a href="javascript:void(0)" onclick="mobileHrefCheckLogin('/inxedu/uc/initUpdateUser/0')" title="">基本资料</a>
									</li>
									<li>
										<a href="javascript:void(0)" onclick="mobileHrefCheckLogin('/inxedu/uc/initUpdateUser/1')" title="">个人头像</a>
									</li>
									<li>
										<a href="javascript:void(0)" onclick="mobileHrefCheckLogin('/inxedu/uc/initUpdateUser/2')" title="">密码设置</a>
									</li>
								</ol>
							</li>
						</ul>
						<ul>
							<li>
								<span>Wo的消息</span>
								<ol>
									<li>
										<a href="javascript:void(0)" onclick="mobileHrefCheckLogin('/inxedu/uc/letter')" title="">系统消息</a>
									</li>
								</ol>
							</li>
						</ul>
					</section>
				</div>
			</div>
			<script>
				$(function() {
					wmNavFun(); // 手机端导航方法
					goTopFun(); //返回顶部
				})
			</script>
			<!-- 公共头引入 -->
			<script>
				$(function() {
					var str = '<section style="color: #666;position:absolute;left:50%;bottom:20px;z-index:7;margin-left:-80px;">';
					str += '<span>Powered by</span>';
					str += '<a href="http://www.inxedu.com" target="_blank" title="因酷教育软件" style="margin-left: 2px;color: #666;">因酷教育软件</a>';
					str += '</section>';
					$("body").append(str);
				});
			</script>
			<div class="bg-fa of" id="app">
				<section class="container">
					<section class="i-question">
						<div class="fl col-7">
							<section class="mr30 pt10">
								<section class="c-infor-tabTitle c-tab-title">
									<a href="javascript: void(0)" title="全部问答" @click="allQuestion" :class="{current:dto.type==0}">全部问答</a>
									<a href="javascript: void(0)" title="课程问答" @click="courseQuestion" :class="{current:dto.type==1}">课程问答</a>
									<a href="javascript: void(0)" title="学习分享" @click="studyQuestion" :class="{current:dto.type==2}">学习分享</a>
								</section>
								<div class="js-wrap">
									<section class="fr">
										<span class="c-ccc"> <tt class="c-master f-fM">1</tt>/<tt class="c-666 f-fM">2</tt>
								</span>
									</section>
									<section class="fl">
										<ol class="js-tap clearfix">
											<li >
												<a @click="recentQuestion" href="javascript:void(0)" title="最新" :class="{bgcolor:dto.desc==1}">最新</a>
											</li>
											<li >
												<a @click="hotQuestion" href="javascript:void(0)" title="热门" :class="{bgcolor:dto.desc==2}">热门</a>
											</li>
											<li >
												<a @click="waitQuestion" href="javascript:void(0)" title="等待回答" :class="{bgcolor:dto.desc==3}">等待回答</a>
											</li>
										</ol>
									</section>
								</div>
								<!-- /问题列表 开始 -->
								<div class="q-list">
									<section class="q-all-list">
										<ul>
											<li v-for="(q,index) in questionArr" >
												<aside class="q-head-pic">
													<img :src="q.eduUser.picImg" alt="">
													<p class="hLh30 txtOf">
														<span class="c-999"> {{q.eduUser.showName}}</span>
													</p>
												</aside>
												<section class="q-txt-box">
													<a class="replyBrowseNum" href="/inxedu/questions/info/11" title="">
														<div class="replyNum">
															<span class="r-b-num">{{q.replyCount}}</span>
															<p class="hLh30">
																<span class="c-999 f-fA">回答数</span>
															</p>
														</div>
														<div class="browseNum">
															<span class="r-b-num">{{q.browseCount}}</span>
															<p class="hLh30">
																<span class="c-999 f-fA">浏览数</span>
															</p>
														</div>
													</a>
													<h3 class="hLh30 txtOf">
														<em class="icon16 q-tw">&nbsp;</em>
														<a href="#" @click="toDetail(q.id)" title="" class="fsize16 c-333 vam">{{q.title}}</a>
													</h3>
													<h3 class="hLh30 txtOf mt5">
														<em class="icon16 q-hd">&nbsp;</em>
														<span class="fsize12 c-999 vam" v-if="(q.replyCount !=0 && q.eduQuestionsComment!=null)"><tt class="c-green f-fM mr5" v-if="(q.eduQuestionsComment.isBest==1)">[最佳回答]</tt> 
															<tt class="c-green f-fM mr5" v-if="(q.eduQuestionsComment.isBest==0)">[最新回答]</tt>
																{{q.eduQuestionsComment.content}}
														</span>
														<span class="fsize12 c-999 vam" v-if="q.replyCount==0">哈~~~ 此问题大家还在苦思冥想中...</span>
															</h3>
													<div class="mt15">
														<span class="c-ccc fl vam">{{q.addTime | dateFrm}}</span>
														<section class="fl ml20 pt10">
															<div class="taglist clearfix">
																<span v-for="t in q.tags">
																	<a title="t.questionsTagName" data-id="3" onclick="" class="list-tag" href="javascript:;">{{t.questionsTagName}}</a>
																</span>
															</div>
														</section>
														<div class="clear"></div>
													</div>
												</section>
											</li>
													
										</ul>
									</section>
									<!-- 公共分页 开始 -->
									<div class="paging">
										<a href="javascript:goPage(1);" title="">首</a>
										<a id="backpage" class="undisable" href="javascript:void(0)" title="">&lt;</a>
										<a id="nextpage" href="javascript:goPage(2);" title="">&gt;</a>
										<a href="javascript:goPage(2);" title="">末</a>
										<div class="clear"></div>
									</div>

									<script type="text/javascript">
										var totalPageSize = 2;
										var currentPage =
											0 < 1 ? 1 : 1;
										var totalPage = 2;
										showPageNumber();
									</script>
									<!-- 公共分页 结束 -->
									<form action="/inxedu/questions/list" id="searchForm" method="post">
										<input type="hidden" id="pageCurrentPage" name="page.currentPage" value="1" />
										<input type="hidden" name="questions.orderFalg" value="addTime" />
										<input type="hidden" name="questions.type" value="0" />
										<input type="hidden" name="questions.status" value="0" />
										<input type="hidden" name="questions.questionsTagId" value="" />
									</form>
								</div>
								<!-- /问题列表 结束 -->
							</section>
						</div>
						<aside class="fl col-3">
							<div class="mt30 pl10">
								<section class="pt10">
									<a href="javascript:void(0)" onclick="toAddQuestions()" title="我要提问" class="comm-btn c-btn-5">我要提问</a>
								</section>
								<section class="pt20">
									<div class="taglist clearfix">
										<a onclick="submitForm('0','questionsTagId')" href="javascript:;" class="list-tag " data-id="0" title="JAVA">全部</a>
										<a title="JAVA" data-id="1" class="list-tag " href="javascript:;" onclick="submitForm('1','questionsTagId')">JAVA</a>
										<a title="Maya" data-id="2" class="list-tag " href="javascript:;" onclick="submitForm('2','questionsTagId')">Maya</a>
										<a title="MongoDB" data-id="3" class="list-tag " href="javascript:;" onclick="submitForm('3','questionsTagId')">MongoDB</a>
										<a title="Premiere" data-id="5" class="list-tag " href="javascript:;" onclick="submitForm('5','questionsTagId')">Premiere</a>
										<a title="Photoshop" data-id="6" class="list-tag " href="javascript:;" onclick="submitForm('6','questionsTagId')">Photoshop</a>
										<a title="Mysql" data-id="7" class="list-tag " href="javascript:;" onclick="submitForm('7','questionsTagId')">Mysql</a>
										<a title="Android" data-id="8" class="list-tag " href="javascript:;" onclick="submitForm('8','questionsTagId')">Android</a>
										<a title="Unity3D" data-id="9" class="list-tag " href="javascript:;" onclick="submitForm('9','questionsTagId')">Unity3D</a>
										<a title="JavaScript" data-id="10" class="list-tag " href="javascript:;" onclick="submitForm('10','questionsTagId')">JavaScript</a>
										<a title="WebApp" data-id="11" class="list-tag " href="javascript:;" onclick="submitForm('11','questionsTagId')">WebApp</a>
										<a title="新建问答标签" data-id="21" class="list-tag " href="javascript:;" onclick="submitForm('21','questionsTagId')">新建问答标签</a>
										<a title="新建问答标签" data-id="22" class="list-tag " href="javascript:;" onclick="submitForm('22','questionsTagId')">新建问答标签</a>
									</div>
								</section>
								<!-- /标签云 -->
								<section class="mt30">
									<section class="c-infor-tabTitle c-tab-title">
										<a href="javascript: void(0)" title="热门问答推荐">热门问答推荐</a>
									</section>
									<div class="q-r-rank-list">
										<ul id="hotQuestions">
											<section class="no-data-wrap">
												<em class="icon30 no-data-ico">&nbsp;</em> <span class="c-666 fsize14 ml10 vam">没有相关数据，小编正在努力整理中...</span>
											</section>
										</ul>
									</div>
								</section>
								<!-- /热门问答排行 -->
							</div>
						</aside>
						<div class="clear"></div>
					</section>
				</section>
				<!-- /提问题 结束 -->
			</div>
			<script>
				
				var app = new Vue({
					el: "#app",
					data: {
						questionArr: [],
						dto: {
							"type": 0,
							"desc": 1
						}
					},
					created: function() {
						this.findByDto();
					},
					methods: {
						//查询请求
						findByDto: function() {
							var that = this;
							axios({
								url: "http://localhost:9095/user/questions/show",
								method: "get",
								headers: {
									'Content-Type': 'application/x-www-form-urlencoded'
								},
								params: that.dto
							}).then(function(response) {
								if(response.data.code == 200) {
									that.questionArr = response.data.data;
									console.log(that.questionArr)
								}
							})
						},
						//全部问答
						allQuestion: function() {
							this.dto.type = 0;
							this.findByDto();
						},
						//课程问答
						courseQuestion: function() {
							this.dto.type = 1;
							this.findByDto();
						},
						//学习分享
						studyQuestion: function() {
							this.dto.type = 2;
							this.findByDto()
						},
						//最新回答
						recentQuestion: function() {
							this.dto.desc = 1;
							this.findByDto();
						},
						//热门问题
						hotQuestion: function() {
							this.dto.desc = 2;
							this.findByDto();
						},
						//等待回答
						waitQuestion: function() {
							this.dto.desc = 3;
							this.findByDto();
						},
						toDetail:function(id){
							localStorage.setItem("id",id);
							location.href = "../../questions/question-detail.html"
						}
					},
					filters: {
						dateFrm: function(el) {
							return moment(el).format("YYYY-MM-DD HH:mm:ss");
						}
					}
				})
			</script>
			<!-- 公共底引入 -->
			<footer id="footer">
				<section class="container">
					<div class="">
						<h4 class="hLh30">
				<span class="fsize18 f-fM c-999">友情链接</span>
			</h4>
						<ul class="of flink-list">
							<li>
								<a href="http://www.xyqhit.com" title="三阳科技" target="_blank">三阳科技</a>
							</li>
						</ul>
						<div class="clear"></div>
					</div>
					<div class="b-foot">
						<section class="fl col-7">
							<section class="mr20">
								<section class="b-f-link">
									<a href="/front/helpCenter?id=193" title="关于我们" target="_blank">关于我们</a>|
									<a href="/front/helpCenter?id=194" title="联系我们" target="_blank">联系我们</a>|
									<a href="#" title="成功案例" target="_blank">成功案例</a>|
									<a href="/front/helpCenter" title="帮助中心" target="_blank">帮助中心</a>|
									<span>服务热线：400-006-5079</span> <span>Email：xiejinlong@inxedu.com</span>
								</section>
								<section class="b-f-link mt10">
									<span>©2010-2015 INXEDU有限公司 版权所有 京ICP备15017521号</span>
								</section>
							</section>
						</section>
						<aside class="fl col-3 tac mt15">
							<section class="gf-tx">
								<span><img src="../../static/inxweb/img/wx-icon.png" alt=""></span>
								<div class="gf-tx-ewm">
									<img src="../../images/upload/image/20150908/1441801228269.png" alt="">
								</div>
							</section>
							<section class="gf-tx">
								<span><img src="../../static/inxweb/img/wb-icon.png" alt=""></span>
								<div class="gf-tx-ewm">
									<img src="../../images/upload/image/20150908/1441801298938.png" alt="">
								</div>
							</section>
						</aside>
						<div class="clear"></div>
					</div>
				</section>
			</footer>
			<div class="r-fixed-wrap">
				<ul class="r-fixed-ul">
					<li id="goTopBtn" class="undis">
						<a href="javascript: void(0)" title="返回顶部" class="bg-orange">
							<em class="r-f-icon-3">&nbsp;</em><span>返回顶部</span>
						</a>
					</li>
					<li class="foot-zixun">
						<a href="" title="在线咨询" class="bg-orange">
							<em class="r-f-icon-1">&nbsp;</em><span>在线咨询</span>
						</a>
					</li>
					<li class="foot-zixun">
						<a href="" title="扫描关注" class="bg-orange">
							<em class="r-f-icon-2">&nbsp;</em><span>扫描关注</span>
						</a>
					</li>
				</ul>
			</div>
			<!-- 公共底引入 -->
		</div>

		<!-- 统计代码 -->
	</body>

</html>